package com.ca.ridersclubapplication.data.bean;

import com.ca.ridersclubapplication.data.entity.Handleable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Message implements Handleable {

    private Long id ;

    private Long sourceId;

    private Long targetId;

    private String content;

    private Boolean rec;

    private String createTime;

    @Override
    public String getKey() {
        return "Message:" + id;
    }
}
